<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/lib/require.js" data-main="../js/index"></script>
</head>
<body>
<div></div>
<!--模块化分为AMD和CMD。AMD是提前执行,CMD是延迟执行-->
<!--解决加载时候的阻塞-->
</body>
</html>